# -*- coding: utf-8 -*-

from django.urls import path, re_path
from fort import views

urlpatterns = [
    path(r'fort_server/', views.fort_server, name='fort_server'),
    path(r'ssh_list/', views.ssh_list, name='ssh_list'),
    path(r'find_custom_hosts/', views.find_custom_hosts, name='find_custom_hosts'),
    path(r'find_ssh_connect/', views.find_ssh_connect, name='find_ssh_connect'),
    re_path(r'fast_add_connect/(?P<pk>[0-9]+)/', views.fast_add_connect, name='fast_add_connect'),
    re_path(r'search_fort_password/(?P<pk>[0-9]+)/', views.search_fort_password, name='search_fort_password'),
    re_path(r'terminal/(?P<fort_user_id>[0-9]+)/', views.terminal, name='terminal'),
    re_path(r'terminal_upload_file/(?P<fort_user_id>[0-9]+)/', views.terminal_upload_file, name='terminal_upload_file'),
    re_path(r'terminal_download_file/(?P<fort_user_id>[0-9]+)/', views.terminal_download_file, name='terminal_download_file'),
    path(r'login_fort_record/', views.login_fort_record, name='login_fort_record'),
    re_path(r'record_play/(?P<pk>[0-9]+)/', views.record_play, name='record_play'),
    path(r'find_username/', views.find_username, name='find_username'),
    path(r'find_vnc_connect/', views.find_vnc_connect, name='find_vnc_connect'),
    path(r'batch_change_fort_belong_user/', views.batch_change_fort_belong_user, name='batch_change_fort_belong_user'),
    path(r'batch_change_fort_belong_group/', views.batch_change_fort_belong_group, name='batch_change_fort_belong_group'),
    path(r'import_fort/', views.import_fort, name='import_fort'),
    path(r'download_fort_template/', views.download_fort_template, name='download_fort_template'),
]
